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