copyWithWrapped method

WebApiModulesBillingPaymentPayment copyWithWrapped({
  1. Wrapped<String?>? paymentId,
  2. Wrapped<String?>? paymentDate,
  3. Wrapped<String?>? locationId,
  4. Wrapped<String?>? departmentId,
  5. Wrapped<String?>? locationCode,
  6. Wrapped<String?>? location,
  7. Wrapped<String?>? vendorId,
  8. Wrapped<String?>? vendor,
  9. Wrapped<String?>? paymentTypeId,
  10. Wrapped<String?>? paymentType,
  11. Wrapped<int?>? bankAccountId,
  12. Wrapped<String?>? accountName,
  13. Wrapped<String?>? officeLocationDefaultCurrencyId,
  14. Wrapped<String?>? currencyId,
  15. Wrapped<String?>? currency,
  16. Wrapped<String?>? currencyCode,
  17. Wrapped<String?>? currencySymbol,
  18. Wrapped<String?>? checkNumber,
  19. Wrapped<String?>? paymentDocumentNumber,
  20. Wrapped<double?>? paymentAmount,
  21. Wrapped<String?>? appliedById,
  22. Wrapped<String?>? appliedBy,
  23. Wrapped<String?>? modifiedById,
  24. Wrapped<String?>? modifiedBy,
  25. Wrapped<String?>? paymentMemo,
  26. Wrapped<String?>? recType,
  27. Wrapped<String?>? chargeBatchId,
  28. Wrapped<String?>? chargeBatchNumber,
  29. Wrapped<List<WebApiModulesBillingPaymentPaymentVendorInvoice>?>? vendorInvoiceDataList,
  30. Wrapped<String?>? auditNote,
  31. Wrapped<String?>? recordTitle,
  32. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  33. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  34. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  35. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
})

Implementation

WebApiModulesBillingPaymentPayment copyWithWrapped(
    {Wrapped<String?>? paymentId,
    Wrapped<String?>? paymentDate,
    Wrapped<String?>? locationId,
    Wrapped<String?>? departmentId,
    Wrapped<String?>? locationCode,
    Wrapped<String?>? location,
    Wrapped<String?>? vendorId,
    Wrapped<String?>? vendor,
    Wrapped<String?>? paymentTypeId,
    Wrapped<String?>? paymentType,
    Wrapped<int?>? bankAccountId,
    Wrapped<String?>? accountName,
    Wrapped<String?>? officeLocationDefaultCurrencyId,
    Wrapped<String?>? currencyId,
    Wrapped<String?>? currency,
    Wrapped<String?>? currencyCode,
    Wrapped<String?>? currencySymbol,
    Wrapped<String?>? checkNumber,
    Wrapped<String?>? paymentDocumentNumber,
    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<List<WebApiModulesBillingPaymentPaymentVendorInvoice>?>?
        vendorInvoiceDataList,
    Wrapped<String?>? auditNote,
    Wrapped<String?>? recordTitle,
    Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>?
        fields,
    Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
    Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
    Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation}) {
  return WebApiModulesBillingPaymentPayment(
      paymentId: (paymentId != null ? paymentId.value : this.paymentId),
      paymentDate:
          (paymentDate != null ? paymentDate.value : this.paymentDate),
      locationId: (locationId != null ? locationId.value : this.locationId),
      departmentId:
          (departmentId != null ? departmentId.value : this.departmentId),
      locationCode:
          (locationCode != null ? locationCode.value : this.locationCode),
      location: (location != null ? location.value : this.location),
      vendorId: (vendorId != null ? vendorId.value : this.vendorId),
      vendor: (vendor != null ? vendor.value : this.vendor),
      paymentTypeId:
          (paymentTypeId != null ? paymentTypeId.value : this.paymentTypeId),
      paymentType:
          (paymentType != null ? paymentType.value : this.paymentType),
      bankAccountId:
          (bankAccountId != null ? bankAccountId.value : this.bankAccountId),
      accountName:
          (accountName != null ? accountName.value : this.accountName),
      officeLocationDefaultCurrencyId:
          (officeLocationDefaultCurrencyId != null
              ? officeLocationDefaultCurrencyId.value
              : this.officeLocationDefaultCurrencyId),
      currencyId: (currencyId != null ? currencyId.value : this.currencyId),
      currency: (currency != null ? currency.value : this.currency),
      currencyCode:
          (currencyCode != null ? currencyCode.value : this.currencyCode),
      currencySymbol: (currencySymbol != null
          ? currencySymbol.value
          : this.currencySymbol),
      checkNumber:
          (checkNumber != null ? checkNumber.value : this.checkNumber),
      paymentDocumentNumber: (paymentDocumentNumber != null
          ? paymentDocumentNumber.value
          : this.paymentDocumentNumber),
      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),
      vendorInvoiceDataList: (vendorInvoiceDataList != null
          ? vendorInvoiceDataList.value
          : this.vendorInvoiceDataList),
      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));
}