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