copyWithWrapped method

WebApiModulesHomeControlsReceiptInvoiceReceiptInvoice copyWithWrapped({
  1. Wrapped<int?>? invoiceReceiptId,
  2. Wrapped<String?>? invoiceId,
  3. Wrapped<String?>? invoiceNumber,
  4. Wrapped<String?>? invoiceDate,
  5. Wrapped<String?>? description,
  6. Wrapped<String?>? status,
  7. Wrapped<String?>? orderId,
  8. Wrapped<String?>? orderNumber,
  9. Wrapped<String?>? dealId,
  10. Wrapped<String?>? deal,
  11. Wrapped<double?>? total,
  12. Wrapped<double?>? fee,
  13. Wrapped<double?>? totalWithFee,
  14. Wrapped<bool?>? receiptId,
  15. Wrapped<String?>? invoiceType,
  16. Wrapped<double?>? applied,
  17. Wrapped<double?>? amount,
  18. Wrapped<double?>? due,
  19. Wrapped<String?>? customerId,
  20. Wrapped<String?>? customer,
  21. Wrapped<String?>? officeLocationId,
  22. Wrapped<String?>? departmentId,
  23. Wrapped<String?>? currencyId,
  24. Wrapped<String?>? currencyCode,
  25. Wrapped<String?>? currencySymbol,
  26. Wrapped<String?>? auditNote,
  27. Wrapped<String?>? recordTitle,
  28. Wrapped? urlIdentifier,
  29. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  30. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  31. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  32. Wrapped<FwStandardBusinessLogicFwBusinessLogic?>? original,
  33. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
  34. Wrapped<bool?>? hasImport,
  35. Wrapped<String?>? createdByUserId,
  36. Wrapped<String?>? createdByUserName,
  37. Wrapped<String?>? createdDateTime,
  38. Wrapped<String?>? modifiedByUserId,
  39. Wrapped<String?>? modifiedByUserName,
  40. Wrapped<String?>? modifiedDateTime,
})

Implementation

WebApiModulesHomeControlsReceiptInvoiceReceiptInvoice copyWithWrapped({
  Wrapped<int?>? invoiceReceiptId,
  Wrapped<String?>? invoiceId,
  Wrapped<String?>? invoiceNumber,
  Wrapped<String?>? invoiceDate,
  Wrapped<String?>? description,
  Wrapped<String?>? status,
  Wrapped<String?>? orderId,
  Wrapped<String?>? orderNumber,
  Wrapped<String?>? dealId,
  Wrapped<String?>? deal,
  Wrapped<double?>? total,
  Wrapped<double?>? fee,
  Wrapped<double?>? totalWithFee,
  Wrapped<bool?>? receiptId,
  Wrapped<String?>? invoiceType,
  Wrapped<double?>? applied,
  Wrapped<double?>? amount,
  Wrapped<double?>? due,
  Wrapped<String?>? customerId,
  Wrapped<String?>? customer,
  Wrapped<String?>? officeLocationId,
  Wrapped<String?>? departmentId,
  Wrapped<String?>? currencyId,
  Wrapped<String?>? currencyCode,
  Wrapped<String?>? currencySymbol,
  Wrapped<String?>? auditNote,
  Wrapped<String?>? recordTitle,
  Wrapped<dynamic>? urlIdentifier,
  Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>?
  fields,
  Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  Wrapped<FwStandardBusinessLogicFwBusinessLogic?>? original,
  Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
  Wrapped<bool?>? hasImport,
  Wrapped<String?>? createdByUserId,
  Wrapped<String?>? createdByUserName,
  Wrapped<String?>? createdDateTime,
  Wrapped<String?>? modifiedByUserId,
  Wrapped<String?>? modifiedByUserName,
  Wrapped<String?>? modifiedDateTime,
}) {
  return WebApiModulesHomeControlsReceiptInvoiceReceiptInvoice(
    invoiceReceiptId: (invoiceReceiptId != null
        ? invoiceReceiptId.value
        : this.invoiceReceiptId),
    invoiceId: (invoiceId != null ? invoiceId.value : this.invoiceId),
    invoiceNumber: (invoiceNumber != null
        ? invoiceNumber.value
        : this.invoiceNumber),
    invoiceDate: (invoiceDate != null ? invoiceDate.value : this.invoiceDate),
    description: (description != null ? description.value : this.description),
    status: (status != null ? status.value : this.status),
    orderId: (orderId != null ? orderId.value : this.orderId),
    orderNumber: (orderNumber != null ? orderNumber.value : this.orderNumber),
    dealId: (dealId != null ? dealId.value : this.dealId),
    deal: (deal != null ? deal.value : this.deal),
    total: (total != null ? total.value : this.total),
    fee: (fee != null ? fee.value : this.fee),
    totalWithFee: (totalWithFee != null
        ? totalWithFee.value
        : this.totalWithFee),
    receiptId: (receiptId != null ? receiptId.value : this.receiptId),
    invoiceType: (invoiceType != null ? invoiceType.value : this.invoiceType),
    applied: (applied != null ? applied.value : this.applied),
    amount: (amount != null ? amount.value : this.amount),
    due: (due != null ? due.value : this.due),
    customerId: (customerId != null ? customerId.value : this.customerId),
    customer: (customer != null ? customer.value : this.customer),
    officeLocationId: (officeLocationId != null
        ? officeLocationId.value
        : this.officeLocationId),
    departmentId: (departmentId != null
        ? departmentId.value
        : this.departmentId),
    currencyId: (currencyId != null ? currencyId.value : this.currencyId),
    currencyCode: (currencyCode != null
        ? currencyCode.value
        : this.currencyCode),
    currencySymbol: (currencySymbol != null
        ? currencySymbol.value
        : this.currencySymbol),
    auditNote: (auditNote != null ? auditNote.value : this.auditNote),
    recordTitle: (recordTitle != null ? recordTitle.value : this.recordTitle),
    urlIdentifier: (urlIdentifier != null
        ? urlIdentifier.value
        : this.urlIdentifier),
    fields: (fields != null ? fields.value : this.fields),
    custom: (custom != null ? custom.value : this.custom),
    defaultFieldAttributes: (defaultFieldAttributes != null
        ? defaultFieldAttributes.value
        : this.defaultFieldAttributes),
    original: (original != null ? original.value : this.original),
    translation: (translation != null ? translation.value : this.translation),
    hasImport: (hasImport != null ? hasImport.value : this.hasImport),
    createdByUserId: (createdByUserId != null
        ? createdByUserId.value
        : this.createdByUserId),
    createdByUserName: (createdByUserName != null
        ? createdByUserName.value
        : this.createdByUserName),
    createdDateTime: (createdDateTime != null
        ? createdDateTime.value
        : this.createdDateTime),
    modifiedByUserId: (modifiedByUserId != null
        ? modifiedByUserId.value
        : this.modifiedByUserId),
    modifiedByUserName: (modifiedByUserName != null
        ? modifiedByUserName.value
        : this.modifiedByUserName),
    modifiedDateTime: (modifiedDateTime != null
        ? modifiedDateTime.value
        : this.modifiedDateTime),
  );
}