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