copyWithWrapped method
TransferRecurringCreateRequest
copyWithWrapped({
- Wrapped<
String> ? clientId, - Wrapped<
String> ? secret, - Wrapped<
String> ? accessToken, - Wrapped<
String?> ? idempotencyKey, - Wrapped<
String> ? accountId, - Wrapped<
TransferType> ? type, - Wrapped<
TransferNetwork> ? network, - Wrapped<
ACHClass?> ? achClass, - Wrapped<
String> ? amount, - Wrapped<
bool?> ? userPresent, - Wrapped<
String?> ? isoCurrencyCode, - Wrapped<
String?> ? testClockId, - Wrapped<
TransferRecurringSchedule> ? schedule, - Wrapped<
TransferUserInRequest> ? user, - Wrapped<
TransferDevice> ? device,
Implementation
TransferRecurringCreateRequest copyWithWrapped(
{Wrapped<String>? clientId,
Wrapped<String>? secret,
Wrapped<String>? accessToken,
Wrapped<String?>? idempotencyKey,
Wrapped<String>? accountId,
Wrapped<enums.TransferType>? type,
Wrapped<enums.TransferNetwork>? network,
Wrapped<enums.ACHClass?>? achClass,
Wrapped<String>? amount,
Wrapped<bool?>? userPresent,
Wrapped<String?>? isoCurrencyCode,
Wrapped<String?>? testClockId,
Wrapped<TransferRecurringSchedule>? schedule,
Wrapped<TransferUserInRequest>? user,
Wrapped<TransferDevice>? device}) {
return TransferRecurringCreateRequest(
clientId: (clientId != null ? clientId.value : this.clientId),
secret: (secret != null ? secret.value : this.secret),
accessToken:
(accessToken != null ? accessToken.value : this.accessToken),
idempotencyKey: (idempotencyKey != null
? idempotencyKey.value
: this.idempotencyKey),
accountId: (accountId != null ? accountId.value : this.accountId),
type: (type != null ? type.value : this.type),
network: (network != null ? network.value : this.network),
achClass: (achClass != null ? achClass.value : this.achClass),
amount: (amount != null ? amount.value : this.amount),
userPresent:
(userPresent != null ? userPresent.value : this.userPresent),
isoCurrencyCode: (isoCurrencyCode != null
? isoCurrencyCode.value
: this.isoCurrencyCode),
testClockId:
(testClockId != null ? testClockId.value : this.testClockId),
schedule: (schedule != null ? schedule.value : this.schedule),
user: (user != null ? user.value : this.user),
device: (device != null ? device.value : this.device));
}