copyWith method

TransferIntentCreateRequest copyWith({
  1. String? clientId,
  2. String? secret,
  3. String? accountId,
  4. TransferIntentCreateMode? mode,
  5. String? amount,
  6. String? description,
  7. ACHClass? achClass,
  8. String? originationAccountId,
  9. TransferUserInRequest? user,
  10. TransferMetadata? metadata,
  11. String? isoCurrencyCode,
  12. bool? requireGuarantee,
})

Implementation

TransferIntentCreateRequest copyWith(
    {String? clientId,
    String? secret,
    String? accountId,
    enums.TransferIntentCreateMode? mode,
    String? amount,
    String? description,
    enums.ACHClass? achClass,
    String? originationAccountId,
    TransferUserInRequest? user,
    TransferMetadata? metadata,
    String? isoCurrencyCode,
    bool? requireGuarantee}) {
  return TransferIntentCreateRequest(
      clientId: clientId ?? this.clientId,
      secret: secret ?? this.secret,
      accountId: accountId ?? this.accountId,
      mode: mode ?? this.mode,
      amount: amount ?? this.amount,
      description: description ?? this.description,
      achClass: achClass ?? this.achClass,
      originationAccountId: originationAccountId ?? this.originationAccountId,
      user: user ?? this.user,
      metadata: metadata ?? this.metadata,
      isoCurrencyCode: isoCurrencyCode ?? this.isoCurrencyCode,
      requireGuarantee: requireGuarantee ?? this.requireGuarantee);
}