copyWith method
ProcessorBankTransferCreateRequest
copyWith({
- String? clientId,
- String? secret,
- String? idempotencyKey,
- String? processorToken,
- BankTransferType? type,
- BankTransferNetwork? network,
- String? amount,
- String? isoCurrencyCode,
- String? description,
- ACHClass? achClass,
- BankTransferUser? user,
- String? customTag,
- BankTransferMetadata? metadata,
- String? originationAccountId,
Implementation
ProcessorBankTransferCreateRequest copyWith(
{String? clientId,
String? secret,
String? idempotencyKey,
String? processorToken,
enums.BankTransferType? type,
enums.BankTransferNetwork? network,
String? amount,
String? isoCurrencyCode,
String? description,
enums.ACHClass? achClass,
BankTransferUser? user,
String? customTag,
BankTransferMetadata? metadata,
String? originationAccountId}) {
return ProcessorBankTransferCreateRequest(
clientId: clientId ?? this.clientId,
secret: secret ?? this.secret,
idempotencyKey: idempotencyKey ?? this.idempotencyKey,
processorToken: processorToken ?? this.processorToken,
type: type ?? this.type,
network: network ?? this.network,
amount: amount ?? this.amount,
isoCurrencyCode: isoCurrencyCode ?? this.isoCurrencyCode,
description: description ?? this.description,
achClass: achClass ?? this.achClass,
user: user ?? this.user,
customTag: customTag ?? this.customTag,
metadata: metadata ?? this.metadata,
originationAccountId:
originationAccountId ?? this.originationAccountId);
}