copyWithWrapped method

WebApiModulesBillingReceiptReceipt copyWithWrapped({
  1. Wrapped<String?>? receiptId,
  2. Wrapped<String?>? receiptDate,
  3. Wrapped<String?>? locationId,
  4. Wrapped<String?>? locationCode,
  5. Wrapped<String?>? location,
  6. Wrapped<String?>? customerId,
  7. Wrapped<String?>? customer,
  8. Wrapped<String?>? dealId,
  9. Wrapped<String?>? deal,
  10. Wrapped<String?>? paymentBy,
  11. Wrapped<String?>? customerDeal,
  12. Wrapped<String?>? paymentTypeId,
  13. Wrapped<String?>? paymentType,
  14. Wrapped<String?>? paymentTypeType,
  15. Wrapped<String?>? paymentTypeExportPaymentMethod,
  16. Wrapped<String?>? checkNumber,
  17. Wrapped<double?>? paymentAmount,
  18. Wrapped<String?>? appliedById,
  19. Wrapped<String?>? appliedBy,
  20. Wrapped<String?>? modifiedById,
  21. Wrapped<String?>? modifiedBy,
  22. Wrapped<String?>? paymentMemo,
  23. Wrapped<String?>? recType,
  24. Wrapped<String?>? chargeBatchId,
  25. Wrapped<String?>? chargeBatchNumber,
  26. Wrapped<String?>? currencyId,
  27. Wrapped<String?>? currencyCode,
  28. Wrapped<String?>? currencySymbol,
  29. Wrapped<String?>? officeLocationDefaultCurrencyId,
  30. Wrapped<String?>? overPaymentId,
  31. Wrapped<List<WebApiModulesBillingReceiptReceiptInvoice>?>? invoiceDataList,
  32. Wrapped<List<WebApiModulesBillingReceiptReceiptCredit>?>? creditDataList,
  33. Wrapped<bool?>? createOverpayment,
  34. Wrapped<bool?>? createDepletingDeposit,
  35. Wrapped<String?>? dealDepositId,
  36. Wrapped<String?>? dealDepositCheckNumber,
  37. Wrapped<String?>? customerDepositId,
  38. Wrapped<String?>? customerDepositCheckNumber,
  39. Wrapped<String?>? orderId,
  40. Wrapped<String?>? orderDescription,
  41. Wrapped<String?>? transactionId,
  42. Wrapped<String?>? creditCardAccountToken,
  43. Wrapped<String?>? creditCardExpirationDate,
  44. Wrapped<DateTime?>? dateStamp,
  45. Wrapped<String?>? auditNote,
  46. Wrapped<String?>? recordTitle,
  47. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  48. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  49. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
})

Implementation

WebApiModulesBillingReceiptReceipt copyWithWrapped(
    {Wrapped<String?>? receiptId,
    Wrapped<String?>? receiptDate,
    Wrapped<String?>? locationId,
    Wrapped<String?>? locationCode,
    Wrapped<String?>? location,
    Wrapped<String?>? customerId,
    Wrapped<String?>? customer,
    Wrapped<String?>? dealId,
    Wrapped<String?>? deal,
    Wrapped<String?>? paymentBy,
    Wrapped<String?>? customerDeal,
    Wrapped<String?>? paymentTypeId,
    Wrapped<String?>? paymentType,
    Wrapped<String?>? paymentTypeType,
    Wrapped<String?>? paymentTypeExportPaymentMethod,
    Wrapped<String?>? checkNumber,
    Wrapped<double?>? paymentAmount,
    Wrapped<String?>? appliedById,
    Wrapped<String?>? appliedBy,
    Wrapped<String?>? modifiedById,
    Wrapped<String?>? modifiedBy,
    Wrapped<String?>? paymentMemo,
    Wrapped<String?>? recType,
    Wrapped<String?>? chargeBatchId,
    Wrapped<String?>? chargeBatchNumber,
    Wrapped<String?>? currencyId,
    Wrapped<String?>? currencyCode,
    Wrapped<String?>? currencySymbol,
    Wrapped<String?>? officeLocationDefaultCurrencyId,
    Wrapped<String?>? overPaymentId,
    Wrapped<List<WebApiModulesBillingReceiptReceiptInvoice>?>?
        invoiceDataList,
    Wrapped<List<WebApiModulesBillingReceiptReceiptCredit>?>? creditDataList,
    Wrapped<bool?>? createOverpayment,
    Wrapped<bool?>? createDepletingDeposit,
    Wrapped<String?>? dealDepositId,
    Wrapped<String?>? dealDepositCheckNumber,
    Wrapped<String?>? customerDepositId,
    Wrapped<String?>? customerDepositCheckNumber,
    Wrapped<String?>? orderId,
    Wrapped<String?>? orderDescription,
    Wrapped<String?>? transactionId,
    Wrapped<String?>? creditCardAccountToken,
    Wrapped<String?>? creditCardExpirationDate,
    Wrapped<DateTime?>? dateStamp,
    Wrapped<String?>? auditNote,
    Wrapped<String?>? recordTitle,
    Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>?
        fields,
    Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
    Wrapped<List<FwStandardDataFwDefaultAttribute>?>?
        defaultFieldAttributes}) {
  return WebApiModulesBillingReceiptReceipt(
      receiptId: (receiptId != null ? receiptId.value : this.receiptId),
      receiptDate:
          (receiptDate != null ? receiptDate.value : this.receiptDate),
      locationId: (locationId != null ? locationId.value : this.locationId),
      locationCode:
          (locationCode != null ? locationCode.value : this.locationCode),
      location: (location != null ? location.value : this.location),
      customerId: (customerId != null ? customerId.value : this.customerId),
      customer: (customer != null ? customer.value : this.customer),
      dealId: (dealId != null ? dealId.value : this.dealId),
      deal: (deal != null ? deal.value : this.deal),
      paymentBy: (paymentBy != null ? paymentBy.value : this.paymentBy),
      customerDeal:
          (customerDeal != null ? customerDeal.value : this.customerDeal),
      paymentTypeId:
          (paymentTypeId != null ? paymentTypeId.value : this.paymentTypeId),
      paymentType:
          (paymentType != null ? paymentType.value : this.paymentType),
      paymentTypeType: (paymentTypeType != null
          ? paymentTypeType.value
          : this.paymentTypeType),
      paymentTypeExportPaymentMethod: (paymentTypeExportPaymentMethod != null
          ? paymentTypeExportPaymentMethod.value
          : this.paymentTypeExportPaymentMethod),
      checkNumber:
          (checkNumber != null ? checkNumber.value : this.checkNumber),
      paymentAmount:
          (paymentAmount != null ? paymentAmount.value : this.paymentAmount),
      appliedById:
          (appliedById != null ? appliedById.value : this.appliedById),
      appliedBy: (appliedBy != null ? appliedBy.value : this.appliedBy),
      modifiedById:
          (modifiedById != null ? modifiedById.value : this.modifiedById),
      modifiedBy: (modifiedBy != null ? modifiedBy.value : this.modifiedBy),
      paymentMemo:
          (paymentMemo != null ? paymentMemo.value : this.paymentMemo),
      recType: (recType != null ? recType.value : this.recType),
      chargeBatchId:
          (chargeBatchId != null ? chargeBatchId.value : this.chargeBatchId),
      chargeBatchNumber: (chargeBatchNumber != null
          ? chargeBatchNumber.value
          : this.chargeBatchNumber),
      currencyId: (currencyId != null ? currencyId.value : this.currencyId),
      currencyCode:
          (currencyCode != null ? currencyCode.value : this.currencyCode),
      currencySymbol: (currencySymbol != null
          ? currencySymbol.value
          : this.currencySymbol),
      officeLocationDefaultCurrencyId:
          (officeLocationDefaultCurrencyId != null
              ? officeLocationDefaultCurrencyId.value
              : this.officeLocationDefaultCurrencyId),
      overPaymentId:
          (overPaymentId != null ? overPaymentId.value : this.overPaymentId),
      invoiceDataList: (invoiceDataList != null
          ? invoiceDataList.value
          : this.invoiceDataList),
      creditDataList: (creditDataList != null
          ? creditDataList.value
          : this.creditDataList),
      createOverpayment: (createOverpayment != null
          ? createOverpayment.value
          : this.createOverpayment),
      createDepletingDeposit: (createDepletingDeposit != null
          ? createDepletingDeposit.value
          : this.createDepletingDeposit),
      dealDepositId:
          (dealDepositId != null ? dealDepositId.value : this.dealDepositId),
      dealDepositCheckNumber: (dealDepositCheckNumber != null
          ? dealDepositCheckNumber.value
          : this.dealDepositCheckNumber),
      customerDepositId: (customerDepositId != null
          ? customerDepositId.value
          : this.customerDepositId),
      customerDepositCheckNumber: (customerDepositCheckNumber != null
          ? customerDepositCheckNumber.value
          : this.customerDepositCheckNumber),
      orderId: (orderId != null ? orderId.value : this.orderId),
      orderDescription: (orderDescription != null
          ? orderDescription.value
          : this.orderDescription),
      transactionId:
          (transactionId != null ? transactionId.value : this.transactionId),
      creditCardAccountToken: (creditCardAccountToken != null
          ? creditCardAccountToken.value
          : this.creditCardAccountToken),
      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));
}