copyWithWrapped method
TransferIntentCreateRequest
copyWithWrapped({
- Wrapped<
String?> ? clientId, - Wrapped<
String?> ? secret, - Wrapped<
String?> ? accountId, - Wrapped<
TransferIntentCreateMode> ? mode, - Wrapped<
String> ? amount, - Wrapped<
String> ? description, - Wrapped<
ACHClass?> ? achClass, - Wrapped<
String?> ? originationAccountId, - Wrapped<
TransferUserInRequest> ? user, - Wrapped<
TransferMetadata?> ? metadata, - Wrapped<
String?> ? isoCurrencyCode, - Wrapped<
bool?> ? requireGuarantee,
Implementation
TransferIntentCreateRequest copyWithWrapped(
{Wrapped<String?>? clientId,
Wrapped<String?>? secret,
Wrapped<String?>? accountId,
Wrapped<enums.TransferIntentCreateMode>? mode,
Wrapped<String>? amount,
Wrapped<String>? description,
Wrapped<enums.ACHClass?>? achClass,
Wrapped<String?>? originationAccountId,
Wrapped<TransferUserInRequest>? user,
Wrapped<TransferMetadata?>? metadata,
Wrapped<String?>? isoCurrencyCode,
Wrapped<bool?>? requireGuarantee}) {
return TransferIntentCreateRequest(
clientId: (clientId != null ? clientId.value : this.clientId),
secret: (secret != null ? secret.value : this.secret),
accountId: (accountId != null ? accountId.value : this.accountId),
mode: (mode != null ? mode.value : this.mode),
amount: (amount != null ? amount.value : this.amount),
description:
(description != null ? description.value : this.description),
achClass: (achClass != null ? achClass.value : this.achClass),
originationAccountId: (originationAccountId != null
? originationAccountId.value
: this.originationAccountId),
user: (user != null ? user.value : this.user),
metadata: (metadata != null ? metadata.value : this.metadata),
isoCurrencyCode: (isoCurrencyCode != null
? isoCurrencyCode.value
: this.isoCurrencyCode),
requireGuarantee: (requireGuarantee != null
? requireGuarantee.value
: this.requireGuarantee));
}