copyWithWrapped method

WebApiModulesHomeControlsReceiptCreditReceiptCredit copyWithWrapped({
  1. Wrapped<String?>? creditReceiptId,
  2. Wrapped<String?>? creditingInvoiceId,
  3. Wrapped<String?>? receiptId,
  4. Wrapped<String?>? customerId,
  5. Wrapped<String?>? customer,
  6. Wrapped<String?>? dealId,
  7. Wrapped<String?>? deal,
  8. Wrapped<String?>? officeLocationId,
  9. Wrapped<String?>? paymentBy,
  10. Wrapped<String?>? recType,
  11. Wrapped<String?>? recTypeDisplay,
  12. Wrapped<String?>? recTypeColor,
  13. Wrapped<String?>? receiptDate,
  14. Wrapped<String?>? paymentTypeId,
  15. Wrapped<String?>? paymentType,
  16. Wrapped<String?>? paymentTypeType,
  17. Wrapped<String?>? checkNumber,
  18. Wrapped<double?>? origAmount,
  19. Wrapped<double?>? applied,
  20. Wrapped<double?>? refunded,
  21. Wrapped<double?>? remaining,
  22. Wrapped<double?>? amount,
  23. Wrapped<String?>? currencyId,
  24. Wrapped<String?>? currencyCode,
  25. Wrapped<String?>? currencySymbol,
  26. Wrapped<String?>? creditCardName,
  27. Wrapped<String?>? creditCardExpirationDate,
  28. Wrapped<DateTime?>? dateStamp,
  29. Wrapped<String?>? auditNote,
  30. Wrapped<String?>? recordTitle,
  31. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  32. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  33. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  34. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
})

Implementation

WebApiModulesHomeControlsReceiptCreditReceiptCredit copyWithWrapped(
    {Wrapped<String?>? creditReceiptId,
    Wrapped<String?>? creditingInvoiceId,
    Wrapped<String?>? receiptId,
    Wrapped<String?>? customerId,
    Wrapped<String?>? customer,
    Wrapped<String?>? dealId,
    Wrapped<String?>? deal,
    Wrapped<String?>? officeLocationId,
    Wrapped<String?>? paymentBy,
    Wrapped<String?>? recType,
    Wrapped<String?>? recTypeDisplay,
    Wrapped<String?>? recTypeColor,
    Wrapped<String?>? receiptDate,
    Wrapped<String?>? paymentTypeId,
    Wrapped<String?>? paymentType,
    Wrapped<String?>? paymentTypeType,
    Wrapped<String?>? checkNumber,
    Wrapped<double?>? origAmount,
    Wrapped<double?>? applied,
    Wrapped<double?>? refunded,
    Wrapped<double?>? remaining,
    Wrapped<double?>? amount,
    Wrapped<String?>? currencyId,
    Wrapped<String?>? currencyCode,
    Wrapped<String?>? currencySymbol,
    Wrapped<String?>? creditCardName,
    Wrapped<String?>? creditCardExpirationDate,
    Wrapped<DateTime?>? dateStamp,
    Wrapped<String?>? auditNote,
    Wrapped<String?>? recordTitle,
    Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>?
        fields,
    Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
    Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
    Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation}) {
  return WebApiModulesHomeControlsReceiptCreditReceiptCredit(
      creditReceiptId: (creditReceiptId != null
          ? creditReceiptId.value
          : this.creditReceiptId),
      creditingInvoiceId: (creditingInvoiceId != null
          ? creditingInvoiceId.value
          : this.creditingInvoiceId),
      receiptId: (receiptId != null ? receiptId.value : this.receiptId),
      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),
      officeLocationId: (officeLocationId != null
          ? officeLocationId.value
          : this.officeLocationId),
      paymentBy: (paymentBy != null ? paymentBy.value : this.paymentBy),
      recType: (recType != null ? recType.value : this.recType),
      recTypeDisplay: (recTypeDisplay != null
          ? recTypeDisplay.value
          : this.recTypeDisplay),
      recTypeColor:
          (recTypeColor != null ? recTypeColor.value : this.recTypeColor),
      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),
      origAmount: (origAmount != null ? origAmount.value : this.origAmount),
      applied: (applied != null ? applied.value : this.applied),
      refunded: (refunded != null ? refunded.value : this.refunded),
      remaining: (remaining != null ? remaining.value : this.remaining),
      amount: (amount != null ? amount.value : this.amount),
      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));
}