copyWithWrapped method
TransferAuthorizationCreateRequest
copyWithWrapped({
- Wrapped<
String?> ? clientId, - Wrapped<
String?> ? secret, - Wrapped<
String?> ? accessToken, - Wrapped<
String?> ? accountId, - Wrapped<
String?> ? paymentProfileToken, - Wrapped<
TransferType> ? type, - Wrapped<
TransferNetwork> ? network, - Wrapped<
String> ? amount, - Wrapped<
ACHClass?> ? achClass, - Wrapped<
TransferAuthorizationUserInRequest> ? user, - Wrapped<
TransferAuthorizationDevice?> ? device, - Wrapped<
String?> ? originationAccountId, - Wrapped<
String?> ? isoCurrencyCode, - Wrapped<
String?> ? idempotencyKey, - Wrapped<
bool?> ? userPresent, - Wrapped<
bool?> ? withGuarantee, - Wrapped<
String?> ? beaconSessionId, - Wrapped<
String?> ? originatorClientId,
Implementation
TransferAuthorizationCreateRequest copyWithWrapped(
{Wrapped<String?>? clientId,
Wrapped<String?>? secret,
Wrapped<String?>? accessToken,
Wrapped<String?>? accountId,
Wrapped<String?>? paymentProfileToken,
Wrapped<enums.TransferType>? type,
Wrapped<enums.TransferNetwork>? network,
Wrapped<String>? amount,
Wrapped<enums.ACHClass?>? achClass,
Wrapped<TransferAuthorizationUserInRequest>? user,
Wrapped<TransferAuthorizationDevice?>? device,
Wrapped<String?>? originationAccountId,
Wrapped<String?>? isoCurrencyCode,
Wrapped<String?>? idempotencyKey,
Wrapped<bool?>? userPresent,
Wrapped<bool?>? withGuarantee,
Wrapped<String?>? beaconSessionId,
Wrapped<String?>? originatorClientId}) {
return TransferAuthorizationCreateRequest(
clientId: (clientId != null ? clientId.value : this.clientId),
secret: (secret != null ? secret.value : this.secret),
accessToken:
(accessToken != null ? accessToken.value : this.accessToken),
accountId: (accountId != null ? accountId.value : this.accountId),
paymentProfileToken: (paymentProfileToken != null
? paymentProfileToken.value
: this.paymentProfileToken),
type: (type != null ? type.value : this.type),
network: (network != null ? network.value : this.network),
amount: (amount != null ? amount.value : this.amount),
achClass: (achClass != null ? achClass.value : this.achClass),
user: (user != null ? user.value : this.user),
device: (device != null ? device.value : this.device),
originationAccountId: (originationAccountId != null
? originationAccountId.value
: this.originationAccountId),
isoCurrencyCode: (isoCurrencyCode != null
? isoCurrencyCode.value
: this.isoCurrencyCode),
idempotencyKey: (idempotencyKey != null
? idempotencyKey.value
: this.idempotencyKey),
userPresent:
(userPresent != null ? userPresent.value : this.userPresent),
withGuarantee:
(withGuarantee != null ? withGuarantee.value : this.withGuarantee),
beaconSessionId: (beaconSessionId != null
? beaconSessionId.value
: this.beaconSessionId),
originatorClientId: (originatorClientId != null
? originatorClientId.value
: this.originatorClientId));
}