copyWithWrapped method

Implementation

WebApiModulesPluginsCreditCardOrderDeposit copyWithWrapped(
    {Wrapped<String?>? orderId,
    Wrapped<DateTime?>? transactionDate,
    Wrapped<double?>? amount,
    Wrapped<String?>? auditNote,
    Wrapped<String?>? recordTitle,
    Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>?
        fields,
    Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
    Wrapped<List<FwStandardDataFwDefaultAttribute>?>?
        defaultFieldAttributes}) {
  return WebApiModulesPluginsCreditCardOrderDeposit(
      orderId: (orderId != null ? orderId.value : this.orderId),
      transactionDate: (transactionDate != null
          ? transactionDate.value
          : this.transactionDate),
      amount: (amount != null ? amount.value : this.amount),
      auditNote: (auditNote != null ? auditNote.value : this.auditNote),
      recordTitle:
          (recordTitle != null ? recordTitle.value : this.recordTitle),
      fields: (fields != null ? fields.value : this.fields),
      custom: (custom != null ? custom.value : this.custom),
      defaultFieldAttributes: (defaultFieldAttributes != null
          ? defaultFieldAttributes.value
          : this.defaultFieldAttributes));
}