copyWith method
TransferIntentCreateRequest
copyWith({
- String? clientId,
- String? secret,
- String? accountId,
- TransferIntentCreateMode? mode,
- String? amount,
- String? description,
- ACHClass? achClass,
- String? originationAccountId,
- TransferUserInRequest? user,
- TransferMetadata? metadata,
- String? isoCurrencyCode,
- bool? requireGuarantee,
Implementation
TransferIntentCreateRequest copyWith(
{String? clientId,
String? secret,
String? accountId,
enums.TransferIntentCreateMode? mode,
String? amount,
String? description,
enums.ACHClass? achClass,
String? originationAccountId,
TransferUserInRequest? user,
TransferMetadata? metadata,
String? isoCurrencyCode,
bool? requireGuarantee}) {
return TransferIntentCreateRequest(
clientId: clientId ?? this.clientId,
secret: secret ?? this.secret,
accountId: accountId ?? this.accountId,
mode: mode ?? this.mode,
amount: amount ?? this.amount,
description: description ?? this.description,
achClass: achClass ?? this.achClass,
originationAccountId: originationAccountId ?? this.originationAccountId,
user: user ?? this.user,
metadata: metadata ?? this.metadata,
isoCurrencyCode: isoCurrencyCode ?? this.isoCurrencyCode,
requireGuarantee: requireGuarantee ?? this.requireGuarantee);
}