copyWithWrapped method

WebApiModulesBillingInvoiceInvoiceReceipt copyWithWrapped({
  1. Wrapped<int?>? invoiceReceiptId,
  2. Wrapped<String?>? invoiceId,
  3. Wrapped<String?>? receiptId,
  4. Wrapped<String?>? receiptDate,
  5. Wrapped<String?>? paymentTypeId,
  6. Wrapped<String?>? paymentType,
  7. Wrapped<String?>? paymentTypeType,
  8. Wrapped<String?>? checkNumber,
  9. Wrapped<String?>? recType,
  10. Wrapped<String?>? paymentBy,
  11. Wrapped<String?>? receiptCustomerId,
  12. Wrapped<String?>? receiptCustomer,
  13. Wrapped<String?>? receiptDealId,
  14. Wrapped<String?>? receiptDeal,
  15. Wrapped<String?>? invoiceNumber,
  16. Wrapped<String?>? invoiceDate,
  17. Wrapped<String?>? invoiceDescription,
  18. Wrapped<String?>? invoiceDealId,
  19. Wrapped<String?>? invoiceDeal,
  20. Wrapped<String?>? invoiceOrderId,
  21. Wrapped<String?>? invoiceOrderDescription,
  22. Wrapped<double?>? amount,
  23. Wrapped<double?>? remaining,
  24. Wrapped<String?>? appliedById,
  25. Wrapped<String?>? appliedBy,
  26. Wrapped<String?>? paymentMemo,
  27. Wrapped<String?>? currencyId,
  28. Wrapped<String?>? currencyCode,
  29. Wrapped<String?>? currencySymbol,
  30. Wrapped<String?>? creditCardName,
  31. Wrapped<String?>? creditCardExpirationDate,
  32. Wrapped<String?>? dateStamp,
  33. Wrapped<String?>? auditNote,
  34. Wrapped<String?>? recordTitle,
  35. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  36. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  37. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  38. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
})

Implementation

WebApiModulesBillingInvoiceInvoiceReceipt copyWithWrapped(
    {Wrapped<int?>? invoiceReceiptId,
    Wrapped<String?>? invoiceId,
    Wrapped<String?>? receiptId,
    Wrapped<String?>? receiptDate,
    Wrapped<String?>? paymentTypeId,
    Wrapped<String?>? paymentType,
    Wrapped<String?>? paymentTypeType,
    Wrapped<String?>? checkNumber,
    Wrapped<String?>? recType,
    Wrapped<String?>? paymentBy,
    Wrapped<String?>? receiptCustomerId,
    Wrapped<String?>? receiptCustomer,
    Wrapped<String?>? receiptDealId,
    Wrapped<String?>? receiptDeal,
    Wrapped<String?>? invoiceNumber,
    Wrapped<String?>? invoiceDate,
    Wrapped<String?>? invoiceDescription,
    Wrapped<String?>? invoiceDealId,
    Wrapped<String?>? invoiceDeal,
    Wrapped<String?>? invoiceOrderId,
    Wrapped<String?>? invoiceOrderDescription,
    Wrapped<double?>? amount,
    Wrapped<double?>? remaining,
    Wrapped<String?>? appliedById,
    Wrapped<String?>? appliedBy,
    Wrapped<String?>? paymentMemo,
    Wrapped<String?>? currencyId,
    Wrapped<String?>? currencyCode,
    Wrapped<String?>? currencySymbol,
    Wrapped<String?>? creditCardName,
    Wrapped<String?>? creditCardExpirationDate,
    Wrapped<String?>? dateStamp,
    Wrapped<String?>? auditNote,
    Wrapped<String?>? recordTitle,
    Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>?
        fields,
    Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
    Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
    Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation}) {
  return WebApiModulesBillingInvoiceInvoiceReceipt(
      invoiceReceiptId: (invoiceReceiptId != null
          ? invoiceReceiptId.value
          : this.invoiceReceiptId),
      invoiceId: (invoiceId != null ? invoiceId.value : this.invoiceId),
      receiptId: (receiptId != null ? receiptId.value : this.receiptId),
      receiptDate:
          (receiptDate != null ? receiptDate.value : this.receiptDate),
      paymentTypeId:
          (paymentTypeId != null ? paymentTypeId.value : this.paymentTypeId),
      paymentType:
          (paymentType != null ? paymentType.value : this.paymentType),
      paymentTypeType: (paymentTypeType != null
          ? paymentTypeType.value
          : this.paymentTypeType),
      checkNumber:
          (checkNumber != null ? checkNumber.value : this.checkNumber),
      recType: (recType != null ? recType.value : this.recType),
      paymentBy: (paymentBy != null ? paymentBy.value : this.paymentBy),
      receiptCustomerId: (receiptCustomerId != null
          ? receiptCustomerId.value
          : this.receiptCustomerId),
      receiptCustomer: (receiptCustomer != null
          ? receiptCustomer.value
          : this.receiptCustomer),
      receiptDealId:
          (receiptDealId != null ? receiptDealId.value : this.receiptDealId),
      receiptDeal:
          (receiptDeal != null ? receiptDeal.value : this.receiptDeal),
      invoiceNumber:
          (invoiceNumber != null ? invoiceNumber.value : this.invoiceNumber),
      invoiceDate:
          (invoiceDate != null ? invoiceDate.value : this.invoiceDate),
      invoiceDescription: (invoiceDescription != null
          ? invoiceDescription.value
          : this.invoiceDescription),
      invoiceDealId:
          (invoiceDealId != null ? invoiceDealId.value : this.invoiceDealId),
      invoiceDeal:
          (invoiceDeal != null ? invoiceDeal.value : this.invoiceDeal),
      invoiceOrderId: (invoiceOrderId != null
          ? invoiceOrderId.value
          : this.invoiceOrderId),
      invoiceOrderDescription: (invoiceOrderDescription != null
          ? invoiceOrderDescription.value
          : this.invoiceOrderDescription),
      amount: (amount != null ? amount.value : this.amount),
      remaining: (remaining != null ? remaining.value : this.remaining),
      appliedById:
          (appliedById != null ? appliedById.value : this.appliedById),
      appliedBy: (appliedBy != null ? appliedBy.value : this.appliedBy),
      paymentMemo:
          (paymentMemo != null ? paymentMemo.value : this.paymentMemo),
      currencyId: (currencyId != null ? currencyId.value : this.currencyId),
      currencyCode:
          (currencyCode != null ? currencyCode.value : this.currencyCode),
      currencySymbol: (currencySymbol != null
          ? currencySymbol.value
          : this.currencySymbol),
      creditCardName: (creditCardName != null
          ? creditCardName.value
          : this.creditCardName),
      creditCardExpirationDate: (creditCardExpirationDate != null
          ? creditCardExpirationDate.value
          : this.creditCardExpirationDate),
      dateStamp: (dateStamp != null ? dateStamp.value : this.dateStamp),
      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));
}