copyWithWrapped method

WebApiModulesHomeControlsReceiptInvoiceReceiptInvoice copyWithWrapped({
  1. Wrapped<String?>? 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<bool?>? receiptId,
  13. Wrapped<String?>? invoiceType,
  14. Wrapped<double?>? applied,
  15. Wrapped<double?>? amount,
  16. Wrapped<double?>? due,
  17. Wrapped<String?>? customerId,
  18. Wrapped<String?>? customer,
  19. Wrapped<String?>? officeLocationId,
  20. Wrapped<String?>? departmentId,
  21. Wrapped<String?>? currencyId,
  22. Wrapped<String?>? currencyCode,
  23. Wrapped<String?>? currencySymbol,
  24. Wrapped<String?>? auditNote,
  25. Wrapped<String?>? recordTitle,
  26. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  27. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  28. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  29. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
})

Implementation

WebApiModulesHomeControlsReceiptInvoiceReceiptInvoice copyWithWrapped(
    {Wrapped<String?>? 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<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<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>?
        fields,
    Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
    Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
    Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation}) {
  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),
      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),
      fields: (fields != null ? fields.value : this.fields),
      custom: (custom != null ? custom.value : this.custom),
      defaultFieldAttributes: (defaultFieldAttributes != null
          ? defaultFieldAttributes.value
          : this.defaultFieldAttributes),
      translation:
          (translation != null ? translation.value : this.translation));
}