copyWith method

TransferIntentCreate copyWith({
  1. String? id,
  2. DateTime? created,
  3. TransferIntentStatus? status,
  4. String? accountId,
  5. String? originationAccountId,
  6. String? amount,
  7. TransferIntentCreateMode? mode,
  8. ACHClass? achClass,
  9. TransferUserInResponse? user,
  10. String? description,
  11. TransferMetadata? metadata,
  12. String? isoCurrencyCode,
  13. bool? requireGuarantee,
})

Implementation

TransferIntentCreate copyWith(
    {String? id,
    DateTime? created,
    enums.TransferIntentStatus? status,
    String? accountId,
    String? originationAccountId,
    String? amount,
    enums.TransferIntentCreateMode? mode,
    enums.ACHClass? achClass,
    TransferUserInResponse? user,
    String? description,
    TransferMetadata? metadata,
    String? isoCurrencyCode,
    bool? requireGuarantee}) {
  return TransferIntentCreate(
      id: id ?? this.id,
      created: created ?? this.created,
      status: status ?? this.status,
      accountId: accountId ?? this.accountId,
      originationAccountId: originationAccountId ?? this.originationAccountId,
      amount: amount ?? this.amount,
      mode: mode ?? this.mode,
      achClass: achClass ?? this.achClass,
      user: user ?? this.user,
      description: description ?? this.description,
      metadata: metadata ?? this.metadata,
      isoCurrencyCode: isoCurrencyCode ?? this.isoCurrencyCode,
      requireGuarantee: requireGuarantee ?? this.requireGuarantee);
}