copyWith method
TransferIntentGet
copyWith({
- String? id,
- DateTime? created,
- TransferIntentStatus? status,
- String? transferId,
- TransferIntentGetFailureReason? failureReason,
- TransferIntentAuthorizationDecision? authorizationDecision,
- TransferAuthorizationDecisionRationale? authorizationDecisionRationale,
- String? accountId,
- String? originationAccountId,
- String? amount,
- TransferIntentCreateMode? mode,
- ACHClass? achClass,
- TransferUserInResponse? user,
- String? description,
- TransferMetadata? metadata,
- String? isoCurrencyCode,
- bool? requireGuarantee,
- TransferAuthorizationGuaranteeDecision? guaranteeDecision,
- TransferAuthorizationGuaranteeDecisionRationale? guaranteeDecisionRationale,
Implementation
TransferIntentGet copyWith(
{String? id,
DateTime? created,
enums.TransferIntentStatus? status,
String? transferId,
TransferIntentGetFailureReason? failureReason,
enums.TransferIntentAuthorizationDecision? authorizationDecision,
TransferAuthorizationDecisionRationale? authorizationDecisionRationale,
String? accountId,
String? originationAccountId,
String? amount,
enums.TransferIntentCreateMode? mode,
enums.ACHClass? achClass,
TransferUserInResponse? user,
String? description,
TransferMetadata? metadata,
String? isoCurrencyCode,
bool? requireGuarantee,
enums.TransferAuthorizationGuaranteeDecision? guaranteeDecision,
TransferAuthorizationGuaranteeDecisionRationale?
guaranteeDecisionRationale}) {
return TransferIntentGet(
id: id ?? this.id,
created: created ?? this.created,
status: status ?? this.status,
transferId: transferId ?? this.transferId,
failureReason: failureReason ?? this.failureReason,
authorizationDecision:
authorizationDecision ?? this.authorizationDecision,
authorizationDecisionRationale: authorizationDecisionRationale ??
this.authorizationDecisionRationale,
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,
guaranteeDecision: guaranteeDecision ?? this.guaranteeDecision,
guaranteeDecisionRationale:
guaranteeDecisionRationale ?? this.guaranteeDecisionRationale);
}