copyWithWrapped method
TransferIntentCreate
copyWithWrapped({
- Wrapped<
String> ? id, - Wrapped<
DateTime> ? created, - Wrapped<
TransferIntentStatus> ? status, - Wrapped<
String?> ? accountId, - Wrapped<
String> ? originationAccountId, - Wrapped<
String> ? amount, - Wrapped<
TransferIntentCreateMode> ? mode, - Wrapped<
ACHClass?> ? achClass, - Wrapped<
TransferUserInResponse> ? user, - Wrapped<
String> ? description, - Wrapped<
TransferMetadata?> ? metadata, - Wrapped<
String> ? isoCurrencyCode, - Wrapped<
bool?> ? requireGuarantee,
Implementation
TransferIntentCreate copyWithWrapped(
{Wrapped<String>? id,
Wrapped<DateTime>? created,
Wrapped<enums.TransferIntentStatus>? status,
Wrapped<String?>? accountId,
Wrapped<String>? originationAccountId,
Wrapped<String>? amount,
Wrapped<enums.TransferIntentCreateMode>? mode,
Wrapped<enums.ACHClass?>? achClass,
Wrapped<TransferUserInResponse>? user,
Wrapped<String>? description,
Wrapped<TransferMetadata?>? metadata,
Wrapped<String>? isoCurrencyCode,
Wrapped<bool?>? requireGuarantee}) {
return TransferIntentCreate(
id: (id != null ? id.value : this.id),
created: (created != null ? created.value : this.created),
status: (status != null ? status.value : this.status),
accountId: (accountId != null ? accountId.value : this.accountId),
originationAccountId: (originationAccountId != null
? originationAccountId.value
: this.originationAccountId),
amount: (amount != null ? amount.value : this.amount),
mode: (mode != null ? mode.value : this.mode),
achClass: (achClass != null ? achClass.value : this.achClass),
user: (user != null ? user.value : this.user),
description:
(description != null ? description.value : this.description),
metadata: (metadata != null ? metadata.value : this.metadata),
isoCurrencyCode: (isoCurrencyCode != null
? isoCurrencyCode.value
: this.isoCurrencyCode),
requireGuarantee: (requireGuarantee != null
? requireGuarantee.value
: this.requireGuarantee));
}