copyWithWrapped method
TransferIntentGet
copyWithWrapped({
- Wrapped<
String> ? id, - Wrapped<
DateTime> ? created, - Wrapped<
TransferIntentStatus> ? status, - Wrapped<
String?> ? transferId, - Wrapped<
TransferIntentGetFailureReason?> ? failureReason, - Wrapped<
TransferIntentAuthorizationDecision?> ? authorizationDecision, - Wrapped<
TransferAuthorizationDecisionRationale?> ? authorizationDecisionRationale, - 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, - Wrapped<
TransferAuthorizationGuaranteeDecision?> ? guaranteeDecision, - Wrapped<
TransferAuthorizationGuaranteeDecisionRationale?> ? guaranteeDecisionRationale,
Implementation
TransferIntentGet copyWithWrapped(
{Wrapped<String>? id,
Wrapped<DateTime>? created,
Wrapped<enums.TransferIntentStatus>? status,
Wrapped<String?>? transferId,
Wrapped<TransferIntentGetFailureReason?>? failureReason,
Wrapped<enums.TransferIntentAuthorizationDecision?>?
authorizationDecision,
Wrapped<TransferAuthorizationDecisionRationale?>?
authorizationDecisionRationale,
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,
Wrapped<enums.TransferAuthorizationGuaranteeDecision?>? guaranteeDecision,
Wrapped<TransferAuthorizationGuaranteeDecisionRationale?>?
guaranteeDecisionRationale}) {
return TransferIntentGet(
id: (id != null ? id.value : this.id),
created: (created != null ? created.value : this.created),
status: (status != null ? status.value : this.status),
transferId: (transferId != null ? transferId.value : this.transferId),
failureReason:
(failureReason != null ? failureReason.value : this.failureReason),
authorizationDecision: (authorizationDecision != null
? authorizationDecision.value
: this.authorizationDecision),
authorizationDecisionRationale: (authorizationDecisionRationale != null
? authorizationDecisionRationale.value
: this.authorizationDecisionRationale),
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),
guaranteeDecision: (guaranteeDecision != null
? guaranteeDecision.value
: this.guaranteeDecision),
guaranteeDecisionRationale: (guaranteeDecisionRationale != null
? guaranteeDecisionRationale.value
: this.guaranteeDecisionRationale));
}