copyWith method
RecurringTransfer
copyWith({
- String? recurringTransferId,
- DateTime? created,
- DateTime? nextOriginationDate,
- String? testClockId,
- TransferType? type,
- String? amount,
- TransferRecurringStatus? status,
- ACHClass? achClass,
- TransferNetwork? network,
- String? originationAccountId,
- String? accountId,
- String? isoCurrencyCode,
- List<
String> ? transferIds, - TransferAuthorizationDecision? decision,
- TransferAuthorizationDecisionRationale? decisionRationale,
- TransferUserInResponse? user,
- TransferRecurringSchedule? schedule,
Implementation
RecurringTransfer copyWith(
{String? recurringTransferId,
DateTime? created,
DateTime? nextOriginationDate,
String? testClockId,
enums.TransferType? type,
String? amount,
enums.TransferRecurringStatus? status,
enums.ACHClass? achClass,
enums.TransferNetwork? network,
String? originationAccountId,
String? accountId,
String? isoCurrencyCode,
List<String>? transferIds,
enums.TransferAuthorizationDecision? decision,
TransferAuthorizationDecisionRationale? decisionRationale,
TransferUserInResponse? user,
TransferRecurringSchedule? schedule}) {
return RecurringTransfer(
recurringTransferId: recurringTransferId ?? this.recurringTransferId,
created: created ?? this.created,
nextOriginationDate: nextOriginationDate ?? this.nextOriginationDate,
testClockId: testClockId ?? this.testClockId,
type: type ?? this.type,
amount: amount ?? this.amount,
status: status ?? this.status,
achClass: achClass ?? this.achClass,
network: network ?? this.network,
originationAccountId: originationAccountId ?? this.originationAccountId,
accountId: accountId ?? this.accountId,
isoCurrencyCode: isoCurrencyCode ?? this.isoCurrencyCode,
transferIds: transferIds ?? this.transferIds,
decision: decision ?? this.decision,
decisionRationale: decisionRationale ?? this.decisionRationale,
user: user ?? this.user,
schedule: schedule ?? this.schedule);
}