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?>? appliedPaymentTypeFee,
  24. Wrapped<double?>? feePercent,
  25. Wrapped<double?>? remaining,
  26. Wrapped<String?>? appliedById,
  27. Wrapped<String?>? appliedBy,
  28. Wrapped<String?>? paymentMemo,
  29. Wrapped<String?>? currencyId,
  30. Wrapped<String?>? currencyCode,
  31. Wrapped<String?>? currencySymbol,
  32. Wrapped<String?>? creditCardName,
  33. Wrapped<String?>? creditCardExpirationDate,
  34. Wrapped<String?>? dateStamp,
  35. Wrapped<String?>? auditNote,
  36. Wrapped<String?>? recordTitle,
  37. Wrapped? urlIdentifier,
  38. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  39. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  40. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  41. Wrapped<FwStandardBusinessLogicFwBusinessLogic?>? original,
  42. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
  43. Wrapped<bool?>? hasImport,
  44. Wrapped<bool?>? hasDocuments,
  45. Wrapped<String?>? createdByUserId,
  46. Wrapped<String?>? createdByUserName,
  47. Wrapped<String?>? createdDateTime,
  48. Wrapped<String?>? modifiedByUserId,
  49. Wrapped<String?>? modifiedByUserName,
  50. Wrapped<String?>? modifiedDateTime,
})

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?>? appliedPaymentTypeFee,
  Wrapped<double?>? feePercent,
  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<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<bool?>? hasDocuments,
  Wrapped<String?>? createdByUserId,
  Wrapped<String?>? createdByUserName,
  Wrapped<String?>? createdDateTime,
  Wrapped<String?>? modifiedByUserId,
  Wrapped<String?>? modifiedByUserName,
  Wrapped<String?>? modifiedDateTime,
}) {
  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),
    appliedPaymentTypeFee: (appliedPaymentTypeFee != null
        ? appliedPaymentTypeFee.value
        : this.appliedPaymentTypeFee),
    feePercent: (feePercent != null ? feePercent.value : this.feePercent),
    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),
    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),
    hasDocuments: (hasDocuments != null
        ? hasDocuments.value
        : this.hasDocuments),
    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),
  );
}