copyWith method
TransferCreateRequest
copyWith({
- String? clientId,
- String? secret,
- String? idempotencyKey,
- String? accessToken,
- String? accountId,
- String? paymentProfileToken,
- String? authorizationId,
- TransferType? type,
- TransferNetwork? network,
- String? amount,
- String? description,
- ACHClass? achClass,
- TransferUserInRequestDeprecated? user,
- TransferMetadata? metadata,
- String? originationAccountId,
- String? isoCurrencyCode,
Implementation
TransferCreateRequest copyWith(
{String? clientId,
String? secret,
String? idempotencyKey,
String? accessToken,
String? accountId,
String? paymentProfileToken,
String? authorizationId,
enums.TransferType? type,
enums.TransferNetwork? network,
String? amount,
String? description,
enums.ACHClass? achClass,
TransferUserInRequestDeprecated? user,
TransferMetadata? metadata,
String? originationAccountId,
String? isoCurrencyCode}) {
return TransferCreateRequest(
clientId: clientId ?? this.clientId,
secret: secret ?? this.secret,
idempotencyKey: idempotencyKey ?? this.idempotencyKey,
accessToken: accessToken ?? this.accessToken,
accountId: accountId ?? this.accountId,
paymentProfileToken: paymentProfileToken ?? this.paymentProfileToken,
authorizationId: authorizationId ?? this.authorizationId,
type: type ?? this.type,
network: network ?? this.network,
amount: amount ?? this.amount,
description: description ?? this.description,
achClass: achClass ?? this.achClass,
user: user ?? this.user,
metadata: metadata ?? this.metadata,
originationAccountId: originationAccountId ?? this.originationAccountId,
isoCurrencyCode: isoCurrencyCode ?? this.isoCurrencyCode);
}